package com.freeter.modules.gjs.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class GrItem {
    private Long id; // ID bigint unsigned NOT NULL AUTO_INCREMENT
    private Long grId; // gr_id bigint unsigned NOT NULL DEFAULT '0'
    private String scform; // ScForm char(1)
    private String inventoryrefno; // InventoryRefNo varchar(200) NOT NULL
    private String itemno; // ItemNo varchar(200)
    private String itemdesc; // ItemDesc text
    private BigDecimal qty; // Qty decimal(12,2)
    private String uom; // Uom varchar(200)
    private String prodcat; // ProdCat varchar(200)
    private Integer calcStatus; // calc_status tinyint(1) NOT NULL
    /**
     * 重算标记 0 未算， 1 已计算，2 计算出错
     */
    private Integer reCalcStatus ; // re_calc_status tinyint(1) DEFAULT '0'
    @TableField(exist = false)
    private Long uomId;
    @TableField(exist = false)
    private String itemBarcode;

}